<?php
/**
 * Created by PhpStorm.
 * User: mojie126
 * Date: 2017/8/9 0009
 * Time: 下午 13:37
 */

namespace app\index\model;


use think\Model;

class Container extends Model
{
	static public function getName($id)
	{
		if (!empty($id)) {
			$res = Container::get($id)->getAttr("name");
		} else {
			$res = "无";
		}

		echo $res;
	}
}